package com.erp.entity.goods;

/**
 * 批次质量信息
 */
public class BatchQuality {
    private Integer batchQualityId;  // 主键
    private Integer goodsId;         // 商品ID
    private Integer qualityDays;     // 保质期天数
    private Integer alarmDays;       // 报警天数
    private Integer companyId;       // 公司ID

    public BatchQuality() {
    }

    public BatchQuality(Integer batchQualityId, Integer goodsId, Integer qualityDays, Integer alarmDays, Integer companyId) {
        this.batchQualityId = batchQualityId;
        this.goodsId = goodsId;
        this.qualityDays = qualityDays;
        this.alarmDays = alarmDays;
        this.companyId = companyId;
    }

    /**
     * 获取
     * @return batchQualityId
     */
    public Integer getBatchQualityId() {
        return batchQualityId;
    }

    /**
     * 设置
     * @param batchQualityId
     */
    public void setBatchQualityId(Integer batchQualityId) {
        this.batchQualityId = batchQualityId;
    }

    /**
     * 获取
     * @return goodsId
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置
     * @param goodsId
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取
     * @return qualityDays
     */
    public Integer getQualityDays() {
        return qualityDays;
    }

    /**
     * 设置
     * @param qualityDays
     */
    public void setQualityDays(Integer qualityDays) {
        this.qualityDays = qualityDays;
    }

    /**
     * 获取
     * @return alarmDays
     */
    public Integer getAlarmDays() {
        return alarmDays;
    }

    /**
     * 设置
     * @param alarmDays
     */
    public void setAlarmDays(Integer alarmDays) {
        this.alarmDays = alarmDays;
    }

    /**
     * 获取
     * @return companyId
     */
    public Integer getCompanyId() {
        return companyId;
    }

    /**
     * 设置
     * @param companyId
     */
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String toString() {
        return "BatchQuality{batchQualityId = " + batchQualityId + ", goodsId = " + goodsId + ", qualityDays = " + qualityDays + ", alarmDays = " + alarmDays + ", companyId = " + companyId + "}";
    }
}
